{% extends "base.html" %}

{% block header%}
<title>打包PC端编辑</title>
{% endblock %}

{% block content %}
{% with model_name='Task' url_prefix='/pack/task/task?task_type=2' %}
<div class="bar">
	<a>打包PC端 管理</a> -> 打包PC端 配置编辑
	<div class="buttons">
		<a  class="btn btn-app btn-grey btn-xs radius-4 pull-right submit"  />保存</a>
	</div>
</div>

<form action="{{url_prefix}}&id={{model.id}}" method="post">
	<table class="form2">
    <tr hidden="hidden">
		<th>项目代号：</th>
        <td>
            <input type="text" name="proj_tag" value="{{model.project.pro_tag}}" />
        </td>
	</tr>
    <tr>
		<th>分支名称：</th>
        <td>
            <input type="text" name="branch_name" value="{{model.branch_name}}" readonly="readonly"/>
        </td>
	</tr>
    <tr>
        <th>平台：</th>
        <td>
            <select id="plat_select" name="plat">
                {% for p in plat_type %}
                    <option value="{{p}}">{{p}}</option>
                {% endfor %}
            </select>
        </td>
	</tr>
	<tr>
        <th>是否自动：</th>
        <td>
            <select id="is_auto_select" name="is_auto">
                <option value="0" selected="selected">否</option>
                <option value="1">是</option>
            </select>
        </td>
	</tr>
</table>
</form>
{% endwith %}
{% endblock %}